package com.josephxu.tank;

public class Main {
	
	
	public static void main(String args[]) throws InterruptedException {
		TankFrame t = new TankFrame();

		for (int i =0;i<5;i++){
			t.tanks.add(new Tank(50+i*30,200,Dir.DOWN,Group.BAD,t));
		}
//		t.paint(null);
		while(true) {
			Thread.sleep(40);
			t.repaint();
		}
	}

}
